package top.melody.ecommerce.platform.dal.basedata;

import top.melody.ecommerce.common.util.page.Pagination;
import top.melody.ecommerce.platform.api.domain.basedata.GoodsCategory;

import java.util.List;

/**
* @author: melody
* @groupId: rd
* @createdate: 2016-10-18
* @mail: blentle.huan.ren@gmail.com
* @description:
* @since: 1.0
*/
public interface GoodsCategoryMapper {

    List<GoodsCategory> queryByPage(GoodsCategory record, Pagination page);

    Integer getCount(GoodsCategory record);

    GoodsCategory get(Object key);

    Integer insert(GoodsCategory record);

    Integer insertSelective(GoodsCategory record);

    Integer delete(GoodsCategory record);

    Integer deleteByPrimaryKey(Object key);

    Integer updateByPrimaryKey(GoodsCategory record);

    Integer updateByPrimaryKeySelective(GoodsCategory record);
}